#ifndef __ERROR_H__
#define __ERROR_H__

#ifdef ERROR_EXPORTS
#define ERROR_API __declspec(dllexport)
#else
#define ERROR_API __declspec(dllimport)
#endif


//Error code
#define FILE_NOT_FOUND		1
#define MODEL_NOT_FOUND		2
#define IMAGE_LOAD_ERROR	3
#define IMAGE_SIZE_ERROR	4


ERROR_API const char* JTVGetErrorMsg(int nErrorCode);
ERROR_API const char* JTVGetLastErrorMsg();
ERROR_API void JTVSetLastErrorMsg(const char* msg = NULL);


#endif // __ERROR_H__
